package lab02.test11;

public class Test11 {
    public static void main(String[] args) {
        Rectangle rectangle1 = new Rectangle();
        rectangle1.height = 10;
        rectangle1.width = 9;
        //rectangle1.area();
        //rectangle1.perimeter();
        rectangle1.printMyWay();

        Square square = new Square();
        square.length = 4;

        square.diagonat();
        square.printMyWay();
    }


}
